{extends './index.html'}
{block name="main"}
<div class="container">
    <form class="form-horizontal mt20" action="./index.php?c=user&a=insert" method="post">
      <div class="form-group">
        <label class="col-sm-2 control-label">用户名</label>
        <div class="col-sm-10 col-md-4">
          <input type="text" class="form-control" name="name" placeholder="username">
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">年龄</label>
        <div class="col-sm-10 col-md-4">
          <input type="text" class="form-control" name="age" placeholder="age">
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">省份</label>
        <div class="col-sm-10 col-md-4">
          <input type="text" class="form-control" name="province" placeholder="province">
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">性别</label>
        <div class="col-sm-10 col-md-4">
            <label class="radio-inline">
              <input type="radio" name="sex" value="1"> 男
            </label>
            <label class="radio-inline">
              <input type="radio" name="sex" value="0"> 女
            </label>
            <label class="radio-inline">
              <input type="radio" name="sex" value="2"> 保密
            </label>
        </div>
      </div>
      
      <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
          <button type="submit" class="btn btn-success">提交</button>
        </div>
      </div>
    </form>
</div>
{/block}